#ifndef __TELEPHONEBOOKH_H_
#define __TELEPHONEBOOKH_H_

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "DynamicArray.h"

#define Size 64

struct TelephoneInfo
{
    char *name;
    char *num;
};
typedef struct TelephoneInfo TInfo;

void InsertTelephoneBook(DArray *a);
void DeleteTelephoneBook(DArray *a);
void SearchByInfo(DArray *a);
void UpdateTelephoneBook(DArray *a);
void ShowAll(DArray *a);
void PrintTBook(void *p);
void ClearTBook(void *p);
void FuzzySearch(DArray *a, const char *prefix);

#endif